<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="utf-8">
        <title>SunBathe</title>
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <meta name="description" content="">
        <meta name="author" content="">
        
        <!-- Le styles -->
        <link href="<?php echo $this->baseUrl(); ?>/bootstrap/css/bootstrap.css" rel="stylesheet">
        <style>
            body {
                padding-top: 60px; /* 60px to make the container go all the way to the bottom of the topbar */
            }
        </style>
        <link href="<?php echo $this->baseUrl(); ?>/bootstrap/css/bootstrap-responsive.css" rel="stylesheet">

        <script type="text/javascript" src="<?php echo $this->baseUrl(); ?>/js/jquery-1.8.1.min.js"></script>
        <script src="<?php echo $this->baseUrl(); ?>/bootstrap/js/bootstrap.min.js"></script>
        
        <!-- table -->
        <script src="<?php echo $this->baseUrl(); ?>/js/DataTables-1.9.4/media/js/jquery.dataTables.js"></script>
<!--        <script class="jsbin" src="http://datatables.net/download/build/jquery.dataTables.nightly.js"></script>-->
<!--        <script class="jsbin" src="http://datatables.net/download/build/jquery.dataTables.nightly.js"></script>-->
<!--        <link rel="stylesheet" href="<?php echo $this->baseUrl(); ?>/js/DataTables-1.9.4/media/css/jquery.dataTables.css" />
        <link rel="stylesheet" href="<?php echo $this->baseUrl(); ?>/js/DataTables-1.9.4/media/css/jquery.dataTables_themeroller.css" />-->
        <link rel="stylesheet" href="<?php echo $this->baseUrl(); ?>/js/DataTables-1.9.4/media/css/demo_table_jui.css" />
<!--        <link rel="stylesheet" href="<?php echo $this->baseUrl(); ?>/js/jquery-ui-1.10.3.custom/css/ui-lightness/jquery-ui-1.10.3.custom.css" />-->

        
        <!-- Date -->
        <link rel="stylesheet" href="<?php echo $this->baseUrl(); ?>/js/jquery-datepicker/css/ui-lightness/jquery-ui-1.9.2.custom.css" />
        <script src="<?php echo $this->baseUrl(); ?>/js/jquery-datepicker/js/jquery-ui-1.9.2.custom.js"></script>

        <!-- sexy alert-->
        <link href="<?php echo $this->baseUrl(); ?>/js/sexy-alert-box-1.2.2/sexyalertbox.css" rel="stylesheet">
        <script src="<?php echo $this->baseUrl(); ?>/js/sexy-alert-box-1.2.2/sexyalertbox.v1.2.jquery.js"></script>
        

        <!-- validate -->
        <script type="text/javascript" src="<?php echo $this->baseUrl("/js/jquery-validate/jquery.validate.min.js"); ?>"></script>
        <script type="text/javascript" src="<?php echo $this->baseUrl("/js/jquery-validate/additional-methods.min.js"); ?>"></script>
        <!-- end validate -->
        <!-- colorbox -->
        <link rel="stylesheet" href="<?php echo $this->baseUrl(); ?>/js/colorbox/css/colorbox.css" />

        <script src="<?php echo $this->baseUrl(); ?>/js/colorbox/jquery.colorbox.js"></script>
        <!--       END  colorbox-->
        
         <!--tool tips-->
        <script src="<?php echo $this->baseUrl(); ?>/js/jquery-cluetip-master/jquery.cluetip.js"></script>
        <link href="<?php echo $this->baseUrl(); ?>/js/jquery-cluetip-master/jquery.cluetip.css" rel="stylesheet">
        
        <!-- Pantalla de espera -->
	<script type="text/javascript" src="<?php echo $this->baseUrl(); ?>/js/jquery.blockUI.js"></script>
        
        
        <!-- Common -->
	<script type="text/javascript" src="<?php echo $this->baseUrl(); ?>/js/common.js"></script>
        <!-- Le HTML5 shim, for IE6-8 support of HTML5 elements -->
        <!--[if lt IE 9]>
          <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
        <![endif]-->
        <!-- Le fav and touch icons -->
        <link rel="shortcut icon" href="<?php echo $this->baseUrl(); ?>/bootstrap/ico/favicon.ico">
        <link rel="apple-touch-icon-precomposed" sizes="144x144" href="<?php echo $this->baseUrl(); ?>/bootstrap/ico/apple-touch-icon-144-precomposed.png">
        <link rel="apple-touch-icon-precomposed" sizes="114x114" href="<?php echo $this->baseUrl(); ?>/bootstrap/ico/apple-touch-icon-114-precomposed.png">
        <link rel="apple-touch-icon-precomposed" sizes="72x72" href="<?php echo $this->baseUrl(); ?>/bootstrap/ico/apple-touch-icon-72-precomposed.png">
        <link rel="apple-touch-icon-precomposed" href="<?php echo $this->baseUrl(); ?>/bootstrap/ico/apple-touch-icon-57-precomposed.png">
        
        <?php //echo $this->headScript(); ?>
        <?php //echo $this->headLink(); ?>
<!--        <script type="text/javascript">
            $('#myModal').modal()
        </script>-->
    </head>

    <body>
        
        <div class="navbar navbar-fixed-top <?php
        if (isset($this->colorMenu)) {
            echo "navbar-inverse";
        }
        ?>">
            <div class="navbar-inner">
                <div class="container-fluid">
                    <a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
                        <span class="icon-bar"></span>
                        <span class="icon-bar"></span>
                        <span class="icon-bar"></span>
                    </a>
                    <a class="brand" href="#">SunBathe</a>
                    <!-- user -->
                    <div class="btn-group pull-right">
                        <a class="btn dropdown-toggle" data-toggle="dropdown" href="#">
                            <i class="icon-user"></i> <?php echo "Iniciar Session" ?>
                            <span class="caret"></span>
                        </a>
                        <ul class="dropdown-menu">
                            <li><a href="#">Perfil</a></li>
<!--                            <li><a href="<?php echo $this->baseUrl() . '/usuarios/cliente/cambiartema' . $agregadoUrl; ?>">Cambiar Color</a></li>-->
                            <li class="divider"></li>
                            <li><a href="<?php echo $this->baseUrl(); ?>/index/logout/">Salir</a></li>
                        </ul>
                    </div>
                    <!-- end user -->
                    <?php //$datos = $this->getRequest()->getParams();var_dump($datos); ?>
                    <!-- option menu -->
                    <div class="nav-collapse">
                        <ul class="nav">
                            <li><a href="<?php echo $this->baseUrl(); ?>">Inicio</a></li>
                            <li  class="dropdown">
                                <a class="dropdown-toggle" data-toggle="dropdown" href="#" >Clientes<b class="caret"></b></a>
                                <ul class="dropdown-menu" role="menu" aria-labelledby="dLabel">
                                    <li><a tabindex="-1" href="<?php echo $this->baseUrl("/clientes/cliente/registrar"); ?>">Nuevo</a></li>
                                    <li><a tabindex="-1" href="<?php echo $this->baseUrl("/clientes/cliente/busqueda"); ?>">Busqueda</a></li>
                                    <!--<li><a tabindex="-1" href="#">Something else here</a></li>-->
                                </ul>
                            </li>
                            
                            
                            <li class="dropdown">
                                <a class="dropdown-toggle" data-toggle="dropdown" href="#" >Estadisticas<b class="caret"></b></a>
                                <ul class="dropdown-menu" role="menu" aria-labelledby="dLabel">
                                    <li><a tabindex="-1" href="<?php echo $this->baseUrl("/estadisticas/estadistica/consultaestadistica"); ?>">Consulta Clientes</a></li>
                                    <li><a tabindex="-1" href="<?php echo $this->baseUrl("/estadisticas/estadistica/consultaingresos"); ?>">Consulta Ingresos</a></li>
                                    <li><a tabindex="-1" href="<?php echo $this->baseUrl("/estadisticas/estadistica/consultasesiones"); ?>">Consulta Sesiones</a></li>
<!--                                    <li><a tabindex="-1" href="<?php echo $this->baseUrl("/estadisticas/estadistica/prueba"); ?>">Prueba</a></li>-->
                                </ul>
                            </li>
                            <?php  $usuarioAux=$this->usuarioSesion ; if( $usuarioAux->usuario == 'agustin'): ?> 
                                <li class="dropdown">
                                    <a class="dropdown-toggle" data-toggle="dropdown" href="#" >Caja Chica<b class="caret"></b></a>
                                    <ul class="dropdown-menu" role="menu" aria-labelledby="dLabel">
                                        <li><a tabindex="-1" href="<?php echo $this->baseUrl("/cajachica/cajachica/consultacajachica"); ?>">Consulta</a></li>
                                    </ul>
                                </li>
    <!--                            <li>
                                    <a data-toggle="modal" href="#myModal" >Launch demo modal</a>
                                </li>-->
                                <li class="dropdown">
                                    <a class="dropdown-toggle" data-toggle="dropdown" href="#" >Administración<b class="caret"></b></a>
                                    <ul class="dropdown-menu" role="menu" aria-labelledby="dLabel">
                                        <li><a tabindex="-1" href="<?php echo $this->baseUrl("/administracion/administracion/ejemplo"); ?>">Consulta</a></li>
                                    </ul>
                                </li>
                            <?php endif; ?>
                        </ul>
                    </div>
                    <!-- end option menu -->
                </div>
            </div>

        </div>
            
        <div id="container" class="container-fluid">

           <!--       modal para administracion     -->  
           <div id="myModal" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true" style="width:400px; margin-left:100px;">
               
                   <div class="modal-header">
<!--                       <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>-->
                       <h3 id="myModalLabel">Login Administracion</h3>
                   </div>
                   <div class="modal-body">
                   <form class="form-signin" method="Post" name="form_login_administacion" id="form_login_administacion"  action="<?php echo $this->baseUrl("default/index/loginadministracion") ?>">
                       <input type="hidden" id="tipo_login" name="tipo_login" value="1" >
                       <input type="text" name="txt_usuario" class="input-block-level" placeholder="usuario">
                       <input type="password" name="txt_password" class="input-block-level" placeholder="Password">
                       <button class="btn" data-dismiss="modal" aria-hidden="true">Close</button>
                       <button class="btn btn-primary" type="submit">Ingresar</button>
                   </form>
                   </div>
                   <?php echo $this->mensaje; ?>
      
           </div>
       
            <?php echo $this->layout()->content ?>
            
           
                    
        </div><!--/.fluid-container-->

        <hr>
        <footer style="text-align: right;padding-right: 30px;">
            <p>&copy; SunBathe 2013</p>            
        </footer>
        
        
<!--        <span style="text-align: center;">
            <a  href="http://www.creadoresdesitios.com.ar" target="_blank" title=""> </a>
            <p class="muted" style="font-size: 9px">Diseñado por: Villanueva H Cesar</p>
            <p class="muted" style="font-size: 9px">ingeniero en Sistemas de Informacion  <a  href="http://www.creadoresdesitios.com.ar" target="_blank" title="">web</a></p>
            
        </span>-->

    </body>
</html>






